import 'package:provider/provider.dart';
import 'package:shop/common/shop_material.dart';

//注册providers 类  同步数据

List<SingleChildCloneableWidget> providers = [
  ChangeNotifierProvider(create: (_) => Counter()),
];

class Counter with ChangeNotifier {
  double _count = 0;
  incCount(double i) {
    this._count = i;
    notifyListeners();
  }

  double get count => _count;
}
